/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lolbuilder.Champions.Impl;

import java.util.ArrayList;
import lolbuilder.Champions.Interf.Spell;
import lolbuilder.Champions.Spells.effects.Stun;

/**
 *
 * @author chocoboSan
 */
public class Jax extends GenericChamp {
     public Jax() {
        name="jax";
        ad=117;
        ap=0;
        hp=2315;
        curHp=2315;
        rm=53;
        arm=84;
        mana=830;
        cdr=0;
        ls=0;
        regenhp=17;
        sv=0;
        armpen=0;
        armpenPer=0;
        as=(float) 2.06;
        ms=325;
        critD=200;
        critP=1;
        setSpells();
    }
    
    @Override
    public void resetStats() {
        super.resetStats();
        ad=117;
        ap=0;
        hp=2315;
        curHp=2315;
        rm=53;
        arm=84;
        mana=830;
        cdr=0;
        ls=0;
        regenhp=17;
        sv=0;
        armpen=0;
        armpenPer=0;
        as=(float) 2.06;
        ms=325;
        critD=200;
        critP=1;
        setSpells();
    }
    
    @Override
    public void setSpells() {
        spells=new ArrayList<Spell>();
        Spell one=new Spell();
        Spell two=new Spell();
        Spell three=new Spell();
        Spell four=new Spell();
        spells.add(one);spells.add(two);spells.add(three);spells.add(four);
        three.hasEffect=true;
	three.effect=new Stun(1);

        one.setBaseDmg(230);
        two.setBaseDmg(220);
        three.setBaseDmg(150);
        four.setBaseDmg(220);
     
        one.setIsPhyDmg(true);
        two.setIsMgcDmg(true);
        three.setIsPhyDmg(true);
        four.setIsMgcDmg(true);
        
        one.setHasAdRatio(true);
        two.setHasAdRatio(false);
        three.setHasAdRatio(true);
        four.setHasAdRatio(false);
        
        one.setHasApRatio(true);
        two.setHasApRatio(true);
        three.setHasApRatio(false);
        four.setHasApRatio(true);
        
        one.setAdRatio(1);
        two.setAdRatio(0);
        three.setAdRatio(0.5);
        four.setAdRatio(0);
        
        one.setApRatio(0.6);
        two.setApRatio(0.6);
        three.setApRatio(0);
        four.setApRatio(0.7);
        
        
        one.setCd(6);
        two.setCd(3);
        three.setCd(10);
        four.setCd(1.0/as*3);
    }
    
}
